/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.get('/server', controller.home.serverIndex);
  router.post('/server/upload', controller.home.upload);
  router.post('/server/delete_case', controller.home.deleteCase);
  router.get('/server/case_list', controller.home.caseList);
};
